$OpenBSD: patch-configure,v 1.1.1.1 2015/06/23 11:26:05 jca Exp $
--- configure.orig	Wed May 28 08:03:56 2014
+++ configure	Mon Jun 22 13:16:45 2015
@@ -4351,8 +4351,8 @@ else
 fi
 
 
-	BOTAN_INCLUDES="-I$BOTAN_PATH/include/botan-1.10"
-	BOTAN_LIBS="-L$BOTAN_PATH/lib -lbotan-1.10"
+	BOTAN_INCLUDES=`botan-config-1.10 --cflags`
+	BOTAN_LIBS=`botan-config-1.10 --libs`
 	tmp_CPPFLAGS=$CPPFLAGS
 	tmp_LIBS=$LIBS
 	CPPFLAGS="$CPPFLAGS $BOTAN_INCLUDES"
@@ -16255,7 +16255,7 @@ CFLAGS=$lt_save_CFLAGS
 
 
 
-softhsmdbdir=${full_localstatedir}/lib/softhsm
+softhsmdbdir=${full_localstatedir}/db/softhsm
 
 
 
